<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:98:"/Users/zandianhui/Desktop/dataV/zxy/guanwang/addons/official/view/web/official_product/list_e.html";i:1636097310;s:102:"/Users/zandianhui/Desktop/dataV/zxy/guanwang/addons/official/view/web/official_common/mobile/base.html";i:1636097310;s:102:"/Users/zandianhui/Desktop/dataV/zxy/guanwang/addons/official/view/web/official_common/mobile/link.html";i:1636097310;s:101:"/Users/zandianhui/Desktop/dataV/zxy/guanwang/addons/official/view/web/official_common/mobile/nav.html";i:1636097310;s:104:"/Users/zandianhui/Desktop/dataV/zxy/guanwang/addons/official/view/web/official_common/mobile/footer.html";i:1636097310;}*/ ?>
<!DOCTYPE html>
<html lang="zxx">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" href="/assets/addons/official/images/favicon.ico">
    <title><?php echo $basic['title']; ?></title>
    <meta name="keywords" content="<?php echo $basic['keywords']; ?>">
    <meta name="description" content="<?php echo $basic['description']; ?>">

    <link rel="stylesheet" href="/assets/addons/official/m/css/materialize.css">
<link rel="stylesheet" href="/assets/addons/official/m/css/loader.css">
<link rel="stylesheet" href="/assets/addons/official/m/css/lightbox.css">
<link rel="stylesheet" href="/assets/addons/official/m/css/fontawesome.min.css">
<link rel="stylesheet" href="/assets/addons/official/m/css/owl.carousel.min.css">
<link rel="stylesheet" href="/assets/addons/official/m/css/owl.theme.default.min.css">
<link rel="stylesheet" href="/assets/addons/official/layui-v2.6.8/layui-v2.6.8/layui/css/layui.css">
<script src="/assets/addons/official/layui-v2.6.8/layui-v2.6.8/layui/layui.js"></script>
<link rel="stylesheet" href="/assets/addons/official/m/css/style.css">
<!--<script src="/assets/addons/official/m/js/lightbox.js"></script>-->
    <!--css引入-->
    

</head>
<body>
<!--导航-->
<!-- preloader -->
<div class="preloader">
    <div class="spinner"></div>
</div><!-- end preloader --><!-- navbar -->
<div class="navbar">
    <div class="container">
        <div class="row">
            <div class="col s3">
                <div class="content-left">
                    <a href="#slide-out" data-activates="slide-out" class="sidebar"><i class="fas fa-bars"></i></a>
                </div>
            </div>
            <div class="col s6">
                <div class="content-center">
                    <a href="javascript:;"><h1><?php echo $basic['title']; ?></h1></a>
                </div>
            </div>
            <div class="col s3">
                <?php if($auth->isLogin()): ?>
                    <div class="content-right">
                        <a href="#slide-out-right" data-activates="slide-out-right" class="sidebar-right"><i class="fas fa-user"></i></a>
                    </div>
                <?php else: ?>
                    <div class="content-right">
                        <a href="/index/user/login"><i class="fas fa-user"></i></a>
                    </div>
                <?php endif; ?>

            </div>
        </div>
    </div>
</div><!-- end navbar --><!-- sidebar -->
<div class="sidebar-panel">
    <ul id="slide-out" class="collapsible side-nav">
        <li class="list-top">
            <a href="<?php echo addon_url('official/web.official_home/index'); ?>"><?php echo __l('index','Website homepage'); ?></a>
        </li>
        <?php if(count($all_official_category)): foreach($all_official_category as $val): if($val['is_nav_show']): if($val['is_nav_show'] && count($val['son'])): ?>
                        <li>
                            <div class="collapsible-header <?php if((null !== input('param.pid')) && input('param.pid') == $val['id']): ?> grey lighten-4 <?php endif; ?>" ><?php echo ze($val,'name'); ?><span><i class="fa fa-angle-right right"></i></span>
                            </div>
                            <div class="collapsible-body">
                                <ul>
                                    <?php foreach($val['son'] as $son): if($son['is_nav_show']): ?>
                                    <li>
                                        <a href="<?php echo get_cate_url($son); ?>"><?php echo ze($son,'name'); ?></a>
                                    </li>
                                    <?php endif; endforeach; ?>
                                </ul>
                            </div>
                        </li>
                    <?php else: ?>
                        <li <?php if((null !== input('param.pid')) && input('param.pid') == $val['id']): ?> class="grey lighten-4" <?php endif; ?>>
                            <a href="<?php echo get_cate_url($val); ?>"><?php echo ze($val,'name'); ?></a>
                        </li>
                    <?php endif; endif; endforeach; endif; ?>
    </ul>
</div><!-- end sidebar --><!-- sidebar right -->
<div class="sidebar-panel">
    <ul id="slide-out-right" class="collapsible side-nav">


        <?php if($auth->isLogin()): ?>
        <li>
            <div class="user-view">
                <img class="circle responsive-img" src="<?php echo letter_avatar($auth->nickname); ?>" alt="">
                <h5>
                    <?php echo $auth->nickname; ?>
                </h5>
                <!--<p><i class="fas fa-bed"></i>Rooms: <span>14</span></p>-->
            </div>
        </li>
        <li id="top_2">
            <a href="<?php echo addon_url('official/web.official_home/set_language'); ?>?language=2&url=<?php echo base64_encode(request()->domain().request()->url()); ?>" target="_self">简体中文&nbsp;</a>
            <a href="<?php echo addon_url('official/web.official_home/set_language'); ?>?language=1&url=<?php echo base64_encode(request()->domain().request()->url()); ?>" target="_self">English</a>
        </li>
        <li>
            <a href="/index/user/logout" style="width: 90%;height: 2rem;line-height: 2rem;text-align: center;color: #fff;background: #ec3406;margin-left: 5%;border-radius: 10px" target="_self">[ <?php echo __l('index','Sign out'); ?> ]&nbsp;</a>
        </li>
        <?php endif; ?>
    </ul>
</div><!-- end sidebar right --><!-- slide -->

<style>
    .captcha_input{
        width: 8rem !important;
    }
</style>
<div class="slide">
    <div class="layui-carousel" id="test1" lay-filter="test1">
        <div carousel-item="">
            <?php foreach($banners as $item): ?>
            <div>
                <a <?php if($item['url']): ?> href="<?php echo $item['url']; ?>" target="_blank" <?php else: ?> href="javascript:;" <?php endif; ?>>
                <img src="<?php echo $item['image']; ?>" height="100%" width="100%">
                </a>
            </div>
            <?php endforeach; ?>
        </div>
    </div>
</div><!-- end slide --><!-- booking -->



<script>
    layui.use(['carousel', 'form'], function(){
        var carousel = layui.carousel
            ,form = layui.form;
        //常规轮播
        carousel.render({
            elem: '#test1'
            ,interval: 3000
            ,width: '100%'
            ,height: '180px'
        });
    });
</script>

<!--主体-->


<!--主体内容 开始-->
<div class="product">
    <!--右侧区域 开始-->
    <div id="right">
        <div class="right_title">
            <h2 class="right_title_2">
                <img src="/assets/addons/official/images/titleleftbg.png" align="absmiddle"><?php echo ze($res,'name'); ?>
                <img src="/assets/addons/official/images/titlerightbg.png" align="absmiddle">
            </h2>
        </div>
        <div id="subchannel_main">
            <div id="subchannel">
                <ul class="subchannellist">
                    <?php foreach($res['son'] as $item): ?>
                        <li class="depth1" <?php if($item['is_choose']): ?> id="current" <?php endif; ?>>
                            <a href="<?php echo get_cate_url($item); ?>" class="current_a"><?php echo ze($item,'name'); ?></a>
                        </li>
                    <?php endforeach; ?>
                </ul>
            </div>
        </div>
        <div class="right_body minwidth">
            <ul class="productlist">
                <!--循环开始-->
                <li class="row">
                    <?php foreach($data as $key => $item): ?>
                    <div class="col s6" style="margin-bottom: 10px">
                        <div class="content new_xinwen">
                            <img src="<?php echo $item['image']; ?>" title="<?php echo $item['title']; ?>" class="new_xinwen_image"
                                 onclick='location.href="<?php echo addon_url('official/web.official_product/details',[':pid'=>(int)input('param.pid'),':sid'=>(int)input('param.sid'),':id'=>$item['id']]); ?>"'>
                            <a class="new_xinwen_A" href="<?php echo addon_url('official/web.official_product/details',[':pid'=>(int)input('param.pid'),':sid'=>(int)input('param.sid'),':id'=>$item['id']]); ?>">
                                <?php echo $item['title']; ?>
                            </a>
                            <!--<p>Lorem ipsum dolor sit amet, consectetur.</p>-->
                        </div>
                    </div>
                    <?php endforeach; ?>
                </li>
                <!--循环结束-->
            </ul>
            <div class="page_custom">
                <div class="page_son">
                    <?php echo $data->render(['pid'=>(int)input('param.pid'),'sid'=>(int)input('param.sid')]); ?>
                </div>
            </div>
        </div>
        <div class="right_bottom"></div>
    </div>
    <!--右侧区域 结束-->
    <div class="clear"></div>
</div>
<!--主体内容 结束-->




<!--底部-->
<footer>
    <div class="container">
        <div class="wrap-title">
            <h3>
                <?php echo $basic['title']; ?>
            </h3>
        </div>
        <div class="wrap-info">
            <ul>
                <li>
                    <b><?php echo __config('site_relation'); ?>：</b>
                    <?php echo __config('site_relation','value'); ?>
                </li>
                <li>
                    <b><?php echo __config('site_mobile'); ?>：</b>
                    <?php echo __config('site_relation','value'); ?>
                </li>
                <li>
                    <b><?php echo __config('site_email'); ?>：</b>
                    <?php echo __config('site_email','value'); ?>
                </li>
                <li>
                    <b><?php echo __config('site_address'); ?>：</b>
                    <?php echo __config('site_address','value'); ?>
                </li>
            </ul>
        </div>
        <div class="footer-text">
            <p><a class="footer-text_a" href="<?php echo __config('site_beian','value',1); ?>" target="_blank"><?php echo __config('site_beian','value'); ?></a></p>
            <p><?php echo __config('site_technical_support'); ?>：<a class="footer-text_a" href="<?php echo __config('site_technical_support','value',1); ?>" target="_blank"><?php echo __config('site_technical_support','value'); ?></a></p>
        </div>
    </div>
</footer><!-- end footer -->


<script src="/assets/addons/official/m/js/jquery.min.js"></script>
<script src="/assets/addons/official/m/js/materialize.min.js"></script>
<script src="/assets/addons/official/m/js/lightbox.js"></script>
<script src="/assets/addons/official/m/js/owl.carousel.min.js"></script>

<script src="/assets/addons/official/m/js/main.js"></script>

<!--底部js-->

</body>
</html>